Added to the Show command a -wireshape <graphviz-shape> flag. #4252
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the flag
-wireshape <graphviz-shape>
to the Show command and allows to control the shape of wire nodes in the generated graph. The default behavior of using a diamond shape stays the same. The motivation is to allow users to reduce the visual load of wires.Before (also the new default behavior and with -wireshape diamond)
![_before](https://private-user-images.githubusercontent.com/2184769/309496418-3341ce19-a9da-49d4-a4c3-91fd92f72900.svg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNzMwNTcsIm5iZiI6MTczOTI3Mjc1NywicGF0aCI6Ii8yMTg0NzY5LzMwOTQ5NjQxOC0zMzQxY2UxOS1hOWRhLTQ5ZDQtYTRjMy05MWZkOTJmNzI5MDAuc3ZnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMTExOTE3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YThhZTQwNDJkZGMxN2YwMzZmMWI5Y2FhODQ5NDkxN2ExNzM2OTBiMmVlYWVjMzUxMTk5NTk1NmE5ODM4N2JiOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.Q7ax-YCky0gdqJRXH5UDS8Bi0KNkcqrND3g_yuutvm0)
After, with -wireshape plaintext.
![_plaintext](https://private-user-images.githubusercontent.com/2184769/309496415-435f1d3f-91df-421c-bf4a-45c350beb904.svg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNzMwNTcsIm5iZiI6MTczOTI3Mjc1NywicGF0aCI6Ii8yMTg0NzY5LzMwOTQ5NjQxNS00MzVmMWQzZi05MWRmLTQyMWMtYmY0YS00NWMzNTBiZWI5MDQuc3ZnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMTExOTE3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDM2NmIyNTI4ZWUzMmY5ZWUzYjQyM2QzNzAzNGFhZDRkZjc4NjcyYjE2ZTM3OWEzZTUyMTFhMWEzYzkyZGIyYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.aJfwBeummGteXvI_f33hDCIdyY-Y_2jZ-8p36U29HSg)
Dot files
Archive.zip